package pe.edu.upc.e41a.javasoft.service;

import java.util.List;
import org.springframework.roo.addon.layers.service.RooService;
import pe.edu.upc.e41a.javasoft.domain.TipoPersona;

@RooService(domainTypes = { pe.edu.upc.e41a.javasoft.domain.TipoPersona.class })
public interface TipoPersonaService {

	public abstract long countAllTipoPersonas();


	public abstract void deleteTipoPersona(TipoPersona tipoPersona);


	public abstract TipoPersona findTipoPersona(Integer id);


	public abstract List<TipoPersona> findAllTipoPersonas();


	public abstract List<TipoPersona> findTipoPersonaEntries(int firstResult, int maxResults);


	public abstract void saveTipoPersona(TipoPersona tipoPersona);


	public abstract TipoPersona updateTipoPersona(TipoPersona tipoPersona);

}
